QT += gui

TEMPLATE = lib
DEFINES += QXREPORT_LIBRARY

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    qxpdfreport.cpp \
    qxreport.cpp \
    qxreportdocument.cpp \
    qxreporttable.cpp \
    qxreporttablecell.cpp

HEADERS += \
    QXReport_global.h \
    qxpdfreport.h \
    qxreport.h \
    qxreportdocument.h \
    qxreporttable.h \
    qxreporttablecell.h \
    stable.h

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target


# add precomplied header
CONFIG += precompile_header
PRECOMPILED_HEADER = stable.h
precompile_header:!isEmpty(PRECOMPILED_HEADER) {
DEFINES += USING_PCH
}

DESTDIR = $$PWD/../lib
build_pass:CONFIG(debug, debug|release) {
    unix: TARGET = $$join(TARGET,,,_debug)
    else: TARGET = $$join(TARGET,,,d)
}

